/*
 * @Description: 待办事项
 * @Autor: xiej
 * @Date: 2020-06-28 11:02:08
 * @LastEditors: xiej
 * @LastEditTime: 2020-06-28 11:02:41
 */
import request from '@/utils/request'

export function getListPage(query) {
  return request({
    url: '/sysm/cms/todoList/',
    method: 'GET',
    params: query
  })
}

export function updateData(query) {
  return request({
    url: '/sysm/cms/todoList/',
    method: 'POST',
    data: query
  })
}

export function deleteData(query) {
  return request({
    url: `/sysm/cms/todoList/${query}`,
    method: 'DELETE'
  })
}
